package com.yh.doing.interpret_pattern.demo2;

/**
 * @program: design-patterns
 * @description:
 * @author: yangh0597@163.com
 * @date: 2022-11-27 11:51
 * @problem:
 **/
public abstract class NonTerminalExpression implements IExpression{
    protected IExpression left;
    protected IExpression right;

    public NonTerminalExpression(IExpression left, IExpression right) {
        this.left = left;
        this.right = right;
    }
}
